package dyyx.cli;

import java.util.List;

import dyyx.util.CommUtil;

public class ShowFileInfo {
	
	
	

    public static void main(String[] args) throws Exception{   	
    	  
        int argnum = args.length;
        System.out.println("argnum="+argnum);
        if(argnum<=0){
        	System.out.println("file list file not set");
        	return;
        }
        
        String file = args[0];
        String str = CommUtil.read(file, null);
        
        List<String> list = CommUtil.split(str, "\n");
        
        for(String item:list){
        	if(CommUtil.isBlank(item)){
        		continue;
        	}
        	//
        	item = item.trim();
        	
        	System.out.println("======start======"+item);
        	System.out.println(CommUtil.read(item, null));
        	//System.out.println("======end======"+item);

        }
        
        
        
    }
}
